package com.book.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.common.entity.QueryRequest;
import com.book.system.entity.Money;

import java.util.List;

public interface MoneyService extends IService<Money> {
    /**
     * @Description: 查询
     * @Author: Mr.Zhang
     * @Date: 2021/1/26
     */
    List<Money> getMoney(Money money);

    /**
     * @Description: 分页
     * @Author: Mr.Zhang
     * @Date: 2021/1/26
     */
    IPage<Money> getMoneyByPage(Money money, QueryRequest request);

    /**
     * @Description: 添加
     * @Author: Mr.Zhang
     * @Date: 2021/1/26
     */
    void addMoney(Money money);

    /**
     * @Description: 修改
     * @Author: Mr.Zhang
     * @Date: 2021/1/26
     */
    void updateMoney(Money money);

    /**
     * @Description: 复选删除
     * @Author: Mr.Zhang
     * @Date: 2021/1/26
     */
    void deletePay(String[] money);

    /**
     * @Description: 逻辑删除
     * @Author: Mr.Zhang
     * @Date: 2021/1/26
     */
    List<Money> deleteMoney(String[] money);
}
